-- GENERATED SPELL FOR [Vile Slime] --


function spell0_1806(pUnit, Event) --@Crimson Fury,Self--
pUnit:FullCastSpellOnTarget(16843,pUnit)
pUnit:RegisterEvent('Sorts_1806', 4318, 1)
end

function Sorts_1806(pUnit, Event)
local choix_sorts_1806 = math.random(0, 0)
if choix_sorts_1806 == 0 then
pUnit:RegisterEvent('spell0_1806', 1, 1)
end
end

function mob1806_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1806', math.random(1500, 3000), 1)
end

function mob1806_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1806_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1806_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1806, 1, 'mob1806_Action')
RegisterUnitEvent(1806, 2, 'mob1806_Leave')
RegisterUnitEvent(1806, 3, 'mob1806_Kill')
RegisterUnitEvent(1806, 4, 'mob1806_Die')
